From 315b88df6e1625c1e89b8a3d1c36714eb7202103 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Thu, 5 Mar 2020 20:59:46 +0000 Subject: [PATCH] don't use AM_INIT_AUTOMAKE macro when we aren't using automake Calling AM_INIT_AUTOMAKE() in configure.in serves no purpose if we're not using automake, and it confuses autoreconf. Use AC_INIT() instead. Gbp-Pq: Name no-AM_INIT_AUTOMAKE --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 426669fb..10f75ab4 100644 --- a/configure.in +++ b/configure.in @@ -26,7 +26,8 @@ dnl Configure.in for OpenLDAP AC_COPYRIGHT([[Copyright 1998-2020 The OpenLDAP Foundation. All rights reserved. Restrictions apply, see COPYRIGHT and LICENSE files.]]) AC_REVISION([$Id: b9cf43515fc1cb3f6d884525dde92e60d857b5a8 $]) -AC_INIT([OpenLDAP],,[http://www.openldap.org/its/]) +AC_INIT([OpenLDAP],[$OL_VERSION],[http://www.openldap.org/its/]) +AC_PROG_MAKE_SET m4_define([AC_PACKAGE_BUGREPORT],[]) AC_CONFIG_SRCDIR(build/version.sh)dnl dnl ---------------------------------------------------------------- @@ -69,7 +70,6 @@ dnl Determine host platform dnl we try not to use this for much AC_CANONICAL_TARGET([]) -AM_INIT_AUTOMAKE([$OL_PACKAGE],[$OL_VERSION], [no defines])dnl AC_SUBST(PACKAGE)dnl AC_SUBST(VERSION)dnl AC_DEFINE_UNQUOTED(OPENLDAP_PACKAGE,"$PACKAGE",Package) -- 2.30.2